package com.cjkj.purchase.mapper;

import java.util.List;
import com.cjkj.purchase.domain.PurchaseOutboundRecord;

/**
 * 采购材料出库记录Mapper接口
 * 
 * @author cjkj
 * @date 2025-02-20
 */
public interface PurchaseOutboundRecordMapper 
{
    /**
     * 查询采购材料出库记录
     * 
     * @param recordId 采购材料出库记录主键
     * @return 采购材料出库记录
     */
    PurchaseOutboundRecord selectPurchaseOutboundRecordByRecordId(Long recordId);

    /**
     * 查询采购材料出库记录列表
     * 
     * @param purchaseOutboundRecord 采购材料出库记录
     * @return 采购材料出库记录集合
     */
    List<PurchaseOutboundRecord> selectPurchaseOutboundRecordList(PurchaseOutboundRecord purchaseOutboundRecord);

    /**
     * 新增采购材料出库记录
     * 
     * @param purchaseOutboundRecord 采购材料出库记录
     * @return 结果
     */
    int insertPurchaseOutboundRecord(PurchaseOutboundRecord purchaseOutboundRecord);

    /**
     * 修改采购材料出库记录
     * 
     * @param purchaseOutboundRecord 采购材料出库记录
     * @return 结果
     */
    int updatePurchaseOutboundRecord(PurchaseOutboundRecord purchaseOutboundRecord);

    /**
     * 删除采购材料出库记录
     * 
     * @param recordId 采购材料出库记录主键
     * @return 结果
     */
    int deletePurchaseOutboundRecordByRecordId(Long recordId);

    /**
     * 批量删除采购材料出库记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    int deletePurchaseOutboundRecordByRecordIds(Long[] recordIds);
}
